Automattic\WooCommerce\Admin\API\ProductsLowInStock S

Total Complexity 20
Dependencies 2
Dependents 0
Total lines 302
Lines of code 202
Logical lines of code 63
Comment lines 63
Methods 8
Properties 1

Methods 8

Method Rating Maintainability Complexity Lines of code
set_last_order_date()
A
46 9 38
get_query()
S
45 2 54
transform_post_to_api_response()
S
54 4 20
get_collection_params()
S
50 1 31
get_items()
S
54 1 22
register_routes()
S
59 1 16
get_low_in_stock_products()
S
57 1 16
is_using_sitewide_stock_threshold_only()
S
71 1 5